<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:77:"D:\baidu\table_plugins\public/../application/index\view\pagination\index.html";i:1541754744;s:61:"D:\baidu\table_plugins\application\index\view\common\top.html";i:1533554377;s:64:"D:\baidu\table_plugins\application\index\view\common\bottom.html";i:1534759244;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/static/public/css//bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="/static/public/css//bootstrap-table.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div>
    <table class="table">
        <tr>
            <th>name</th>
            <th>age</th>
            <th>work</th>
            <th>mobile</th>
            <th>phone</th>
            <th>备注</th>
            <th>操作</th>
        </tr>
        <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$user): $mod = ($i % 2 );++$i;?>
        <tr>
            <td><?php echo $user['name']; ?></td>
            <td><?php echo $user['age']; ?></td>
            <td><?php echo $user['work']; ?></td>
            <td><?php echo $user['mobile']; ?></td>
            <td><?php echo $user['phone']; ?></td>
            <td><?php echo $user['te']; ?></td>
            <td>
                <a href="delete/id/<?php echo $user['id']; ?>">删除</a>
            </td>
        </tr>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </table>
</div>
<?php echo $list->render(); ?>
<script src="/static/public/js//jquery-3.3.1.min.js"></script>
<script src="/static/public/js//jquery.validate.min.js"></script>
<script src="/static/public/js//messages_zh.min.js"></script>
<script src="/static/public/js//bootstrap.min.js"></script>
<script src="/static/public/js//bootstrap-table.min.js"></script>
<script src="/static/public/js//bootstrap-table-zh-CN.min.js"></script>
<script src="/static/index/js/table.js"></script>
<script src="/static/index/js/validate.js"></script>
</body>
</html>